<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>

    // var a = 101;
    // var b = 20;
    // console.log( a > b );
    // console.log( a >= b );
    // console.log( a < b );
    // console.log( a <= b );

    // var a = "101";
    // var b = 20;
    // console.log( a > b );
    // console.log( a >= b );
    // console.log( a < b );
    // console.log( a <= b );

    // var a = "199";
    // var b = "20";
    // console.log( a > b );
    // console.log( a >= b );
    // console.log( a < b );
    // console.log( a <= b );

    // var a = "hello";
    // var b = "world";
    // console.log( a > b );
    // console.log( a >= b );
    // console.log( a < b );
    // console.log( a <= b );

    // var a = "h";
    // var b = "H";
    // console.log( a > b );
    // console.log( a >= b );
    // console.log( a < b );
    // console.log( a <= b );

    // 两边都是字符时，按照字符的比较规则：逐位，按照ASCII码进行比较，得到结果，停止比较

    // a~z：97~122
    // A~Z：65~90

    // ASCII：美国信息交换标准代码


    var a = 10
    var b = "10"

    console.log( a == b )
    console.log( a != b )

    console.log( a === b )
    console.log( a !== b )

</script>
</html>